package com.taotie.constant;

/**
 * 订单信息常量类
 */
public class OrdersConstant {

    /**
     * 订单状态
     * status
     */

    //待付款
    public static final Integer DUE = 1;
    //待接单
    public static final Integer PENDING_ORDER = 2;
    //已接单
    public static final Integer RECEIVED_ORDER = 3;
    //派送中
    public static final Integer OUT_OF_DELIVERY = 4;
    //已完成
    public static final Integer COMPLETED = 5;
    //已取消
    public static final Integer CANCELLED = 6;

    /**
     * 支付方式
     * pay_method
     */

    //微信支付
    public static final Integer WEIXIN_PAY = 1;
    //支付宝支付
    public static final Integer ZFB_PAY = 2;

    /**
     * 支付状态
     * pay_status
     */

    //未支付
    public static final Integer NON_PAYMENT = 0;
    //已支付
    public static final Integer HAVE_PAID = 1;
    //退款
    public static final Integer REFUND = 2;

    /**
     * 配送状态
     * delivery_status
     */

    //立即送出
    public static final Integer SEND_OUT_IMMEDIATELY = 1;
    //选择具体时间
    public static final Integer CHOOSE_A_SPECIFIC_TIME = 0;

    /**
     * 餐具数量状态
     * tableware_status
     */

    //按餐具提供
    public static final Integer SERVED_BY_CUTLERY = 1;
    //选择具体数量
    public static final Integer SELECT_A_SPECIFIC_QUANTITY = 0;

}
